package com.cskaoyan.service;

import com.cskaoyan.bean.MarketAdmin;
import com.cskaoyan.bean.MarketRole;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;

public interface AdminService {
    MarketAdmin queryById(Integer id);

    void modify(MarketAdmin admin);

    CommonData<MarketAdmin> queryAdmin(MarketAdmin marketAdmin, BasePageInfo info);

    CommonData<MarketRole> queryRole();

    MarketAdmin createAdmin(MarketAdmin marketAdmin);

    void deleteAdmin(MarketAdmin marketAdmin);
}
